package com.amos.base.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Table(name = "wordlist",schema = "amos")
@Data
public class WordlistEntity extends BaseEntity {
    @Basic
    @Column(length = 100)
    private String infoCode;
    @Basic
    @Column(length = 100)
    private String infoName;
    @JoinColumn(
            name = "id",
            nullable = true
    )
    @Basic
    private WordlistEntity parentId;
}
